export const isAuth = function () {
    let token = localStorage.getItem('token')
    return token ? token : false
}